import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired, type UserDto } from "../../interface";

/**
 * /auth/login
 */
export function postAuthLogin(input: UserDto, config?: AxiosRequestConfig) {
    return request.post<DeepRequired<any>>(`/auth/login`, input, config);
}
